Skip to content
/ Motti Public

Multi-threaded web files download library for Java

License

Notifications You must be signed in to change notification settings

occidere/Motti

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motti

Multi-threaded web files download library for Java

Dependency

Maven Repository

<repositories>
	<repository>
		<id>Motti-snapshot</id>
		<url>https://github.com/occidere/occidere-maven-repo/tree/master/snapshots</url>
	</repository>
</repositories>

Maven Dependency

<dependencies>
    <dependency>
        <groupId>org.occidere</groupId>
        <artifactId>Motti</artifactId>
        <version>0.0.0.3</version>
    </dependency>
</dependencies>

Usage

Example

package com.example.MyTest;

import motti.Motti;
import motti.MottiImpl;

public class App {
	public static void main(String[] args) throws Exception {
		String target = "https://github.com/occidere/MMDownloader/releases/download/v0.5.1.0/MMDownloader-0.5.1.0-beta.jar";
		String savePath = "C://test//MMDownloader-0.5.1.0-beta.jar";
		
		Motti motti = new MottiImpl();
		motti.setThreadCount(8);
		
		motti.download(target, savePath);
	}
}

About

Multi-threaded web files download library for Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published